package uk.ac.lkl.common.util;



/**
 * A <code>ClassSequence</code> consisting of two classes.
 * 
 * @author Darren Pearce
 * @version $Revision: 358 $
 * @version $Date: 2007-10-30 16:17:18 +0000 (Tue, 30 Oct 2007) $
 * 
 */
public class ClassPair extends ClassSequence {

    /**
     * Create a new unnamed instance using the given classes.
     * 
     * @param first
     *            the first class
     * @param second
     *            the second class
     */
    public ClassPair(Class first, Class second) {
        super(2, first, second);
    }


    /**
     * Create a new named instance using the given classes.
     * 
     * @param name
     *            the name of this instance
     * @param first
     *            the first class
     * @param second
     *            the second class
     */
    public ClassPair(String name, Class first, Class second) {
        super(name, 2, first, second);
    }

}